import Vue from 'vue'
import store from './store/index.js'
import App from './App.vue'
import router from './router/index.js'
//1. 导入ui框架及css样式 完整导入
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// 1.1按需导入
import { Button, Select } from 'element-ui';

import Loadding from '../plugin/loading/index.js'

Vue.use(Loadding)
// 2.使用饿了么UI 完整导入
// Vue.use(ElementUI)
// 2.1部分导入
Vue.component(Button.name, Button);
Vue.component(Select.name, Select);


/* eslint-disable no-new */
new Vue({
  el: '#app',
 store: store,
 router: router,
  render: h => h(App),

})
